<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

/**
 * Class Spread
 *
 * @package App\Model
 * @mixin \Eloquent
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Spread newModelQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Spread newQuery()
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Spread query()
 * @property int $id
 * @property int $user_id
 * @property string|null $code 编码
 * @property int|null $type 0用户，1企业
 * @property int|null $maibao_num 脉宝总个数
 * @property int|null $maibao_num_surplus 剩余个数
 * @property int|null $maibao_spend_num 分享花费个数
 * @property int $status 0待审核，1审核未通过，2上架, 3下架,4保存
 * @property string|null $title 标题
 * @property string|null $cover 封面
 * @property string|null $content 图文内容
 * @property int|null $user_marketing_id 营销网页id
 * @property int|null $card_id 名片id
 * @property int|null $province_id 省id
 * @property string|null $web_site 网站
 * @property int|null $browse_num 浏览量
 * @property int|null $share_num 分享量
 * @property string|null $remarks 备注
 * @property int $is_deleted 是否删除，1 表示删除
 * @property \Illuminate\Support\Carbon|null $created_at
 * @property \Illuminate\Support\Carbon|null $updated_at
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Spread whereBrowseNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Spread whereCardId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Spread whereCode($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Spread whereContent($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Spread whereCover($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Spread whereCreatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Spread whereId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Spread whereIsDeleted($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Spread whereMaibaoNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Spread whereMaibaoNumSurplus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Spread whereMaibaoSpendNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Spread whereProvinceId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Spread whereRemarks($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Spread whereShareNum($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Spread whereStatus($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Spread whereTitle($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Spread whereType($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Spread whereUpdatedAt($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Spread whereUserId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Spread whereUserMarketingId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Model\Spread whereWebSite($value)
 */
class Spread extends Model
{
    protected $table = 'spread';

    protected $fillable = ['id', 'user_id',  'title', 'code', 'maibao_num','maibao_num_surplus',  'maibao_spend_num', 'cover', 'remarks',  'content',  'user_marketing_id', 'card_id', 'province_id', 'status'];
}
